package cn.xfdzx.android.apps.shop.contract;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.ConmitData_Bean;
import cn.xfdzx.android.apps.shop.bean.GetJieguoBeen;
import cn.xfdzx.android.apps.shop.bean.Store_informationBean;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface InformationContract {
    interface Model {
        Flowable<Store_informationBean> forstate();
        Flowable<ConmitData_Bean> getConmit(String s);
        Flowable<GetJieguoBeen> getjieguo();
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void ontStateType(Store_informationBean bean);
        void onConmit(ConmitData_Bean bean);
        void onJieGuo(GetJieguoBeen been);
    }

    interface Presenter {

        void forstate(String s);
        void forConmit(String s);
        void forJieGuo();
    }
}
